package com.javaPattern.Builder;

public class ConcreteBuilder extends Builder {
	Product room;

	public ConcreteBuilder(Product room) {
		this.room = room;
	}

	public Product getRoom() {
		return room;
	}

	@Override
	public void builderWindow() {
		room.window = "修窗户";
		System.out.println("修窗户");
	}

	@Override
	public void builderDoor() {
		room.door = "修门";
		System.out.println("修门");
	}

	@Override
	public void builderFloor() {
		room.floor = "修地板";
		System.out.println("修地板");
	}
}